package com.eliza.springboot.v3.config.properties

import org.springframework.boot.context.properties.ConfigurationProperties
import org.springframework.context.annotation.Configuration
import org.springframework.stereotype.Component

// 方案三
@ConfigurationProperties("v3.config.sheep")
data class CustomSheepConfig(var port: Int = 0, var name: String)

